package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 家政服务列对象 housekeeping_commodity
 * 
 * @author ruoyi
 * @date 2022-05-22
 */
@ApiModel("家政服务")
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class HousekeepingCommodity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(name = "id",value = "家政服务id",dataType = "Long")
    private Long id;

    /** 家政订单ID */
    @Excel(name = "家政订单ID")
    @ApiModelProperty(name = "id",value = "家政订单id",dataType = "String")
    private String housekeepingId;

    /** 服务名称 */
    @Excel(name = "服务名称")
    @ApiModelProperty(name = "name", value = "服务名称")
    private String name;

    /** 服务类型 */
    @Excel(name = "服务类型")
    @ApiModelProperty(name = "type",value = "服务类型",dataType = "String")
    private String type;

    /** 服务金额 */
    @Excel(name = "服务金额")
    @ApiModelProperty(name = "money",value = "服务金额",dataType = "BigDecimal")
    private BigDecimal money;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(name = "remark",value = "备注",dataType = "remark")
    private String remark;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy",value = "创建人",dataType = "String")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "createdTime",value = "创建时间",dataType = "Date",notes = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(name = "updatedBy",value = "更新人",dataType = "String")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime",value = "更新时间",dataType = "Date",notes = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;


}
